<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/a.css') }}">
</head>
<body>
    <h1>我是web应用</h1>

    <img src="{{ url_for('static', filename='img/1.jpg') }}" alt="My Image">

    <form method="POST">
        输入内容：<input type="text" name="content" required>
        <button type="submit">提交</button>
    </form>

    <h1>数据库已插入数据如下：</h1>
    <ul>
        {% for msg in messages %}
            <li>ID：{{ msg.0 }}， 内容：{{ msg.1 }}</li>
        {% endfor %}
    </ul>
</body>
</html>